package com.company.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.company.common.annotation.Excel;
import com.company.common.core.domain.BaseEntity;

/**
 * 职位发布管理对象 table_recruit
 * 
 * @author ruoyi
 * @date 2022-07-06
 */
public class TableRecruit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 招聘职位序号 */
    private Long recruitid;

    /** 职位编码 */
    @Excel(name = "职位编码")
    private String recruitcode;

    /** 职位名称 */
    @Excel(name = "职位名称")
    private String recruitname;

    /** 职位类别 */
    @Excel(name = "职位类别")
    private String recruitform;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;

    /** 招聘人数 */
    @Excel(name = "招聘人数")
    private String recruitcount;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stoptime;

    public void setRecruitid(Long recruitid) 
    {
        this.recruitid = recruitid;
    }

    public Long getRecruitid() 
    {
        return recruitid;
    }
    public void setRecruitcode(String recruitcode) 
    {
        this.recruitcode = recruitcode;
    }

    public String getRecruitcode() 
    {
        return recruitcode;
    }
    public void setRecruitname(String recruitname) 
    {
        this.recruitname = recruitname;
    }

    public String getRecruitname() 
    {
        return recruitname;
    }
    public void setRecruitform(String recruitform) 
    {
        this.recruitform = recruitform;
    }

    public String getRecruitform() 
    {
        return recruitform;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setRecruitcount(String recruitcount) 
    {
        this.recruitcount = recruitcount;
    }

    public String getRecruitcount() 
    {
        return recruitcount;
    }
    public void setStoptime(Date stoptime) 
    {
        this.stoptime = stoptime;
    }

    public Date getStoptime() 
    {
        return stoptime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recruitid", getRecruitid())
            .append("recruitcode", getRecruitcode())
            .append("recruitname", getRecruitname())
            .append("recruitform", getRecruitform())
            .append("department", getDepartment())
            .append("recruitcount", getRecruitcount())
            .append("stoptime", getStoptime())
            .toString();
    }
}
